package com.yx.feign.api;

import com.yx.vo.Goods;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @Classname GoodsService
 * @Date 2021/07/12 19:21
 * @Author by yx
 * @Description TODO:
 */
@FeignClient(
        name = "shop-goods"
)
public interface GoodsService {

    @GetMapping("/goods/getGoodsList")
    List<Goods> getGoodsList();
}
